package org.jiangy.usercenter.repository;

import org.jiangy.usercenter.entity.Supplier;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

/**
 * <p>创建时间: 2024/8/15 </p>
 *
 * @author <a href="mailto:jiangliu0316@outlook.com" rel="nofollow">蒋勇</a>
 */
public interface SupplierRepository extends JpaRepository<Supplier, Long> {
    Supplier save(Supplier supplier);

    Optional<Supplier> findById(Long id);
}

